﻿using UnityEngine;
using System.Collections;

public class Window : MonoBehaviour {

    private GUITexture gui;
    public float margin = 0f;
    private Rect PixelInsetNew;

	void Start () 
    {
        gui = (GUITexture)GetComponent(typeof(GUITexture));
        PixelInsetNew = new Rect(margin, margin, Screen.width - margin, Screen.height - margin);
        gui.pixelInset = PixelInsetNew;
        //Time.timeScale = 0f;
	}
	
	
	void Update () 
    {
	
	}
}
